﻿@model SysCompany
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>打印招聘委托信息 - 人力资源管理</title>
    <script src="/scripts/jquery-1.6.4.min.js" type="text/javascript"></script>
    <link href="/css/common_old.css" rel="stylesheet" type="text/css" />
</head>
<body>
<center>
    <div style="width:90%;text-align:left;">
        <center>
            <div><h1>上海业臣劳务咨询有限公司</h1></div>
            <div><h2>公司信息登记表</h2></div>
        </center>
        <div class="row">
            <label class="rowTitle">公司信息</label>
        </div>
        <div>
            <div class="innerDialogRow">&nbsp;</div>
            <div class="innerDialogRow">
                <label class="innerDialogRowLabel">系统编号 NO：</label>
                <label class="width100">@Model.SysNo</label>
            </div>
            <div class="innerDialogRow">
                <label class="innerDialogRowLabel">公司名称：</label>
                <label class="width400">@Model.Caption</label>
            </div>
            <div class="innerDialogRow">
                <label class="innerDialogRowLabel">公司地址：</label>
                <label class="width400">@Model.Address</label>
            </div>
            <div class="innerDialogRow">
                <label class="innerDialogRowLabel">公司网址：</label>
                <label class="width400">@Model.Web</label>
            </div>
			@foreach(var row in Model.SysCompanyContact){
            <div class="innerDialogRow">
                <label class="innerDialogRowLabel">联系人：</label>
                <label class="width100">@row.Contact</label>
                <label class="innerDialogRowLabel">手机：</label>
                <label class="width100">@row.Telephone</label>
            </div>
   }
            <div class="innerDialogRow">
                <label class="innerDialogRowLabel">资本结构：</label>
                <label class="width100">@Model.Structure</label>
                <label class="innerDialogRowLabel">规模/人数：</label>
                <label class="width100">@Model.Employees</label>
            </div>
            <div class="innerDialogRow">
                <label class="innerDialogRowLabel">单位性质：</label>
                <label class="width400">@Model.Nature</label>
            </div>
            <div class="innerDialogRow">
                <label class="innerDialogRowLabel">公司概况：</label>
                <label class="width400">@Model.Description</label>
            </div>
        </div>
        <div class="row"><label class="rowTitle">招聘信息</label></div>
        <div>
			<div class="innerDialogRow">&nbsp;</div> 
			@foreach(var row in Model.SysCompanyEmployee)
   {
		var gender = Common.Dictionary.FirstOrDefault(p => p.Category.Equals("Gender") && p.Worth.Equals(row.Gender));
		var education = Common.Dictionary.FirstOrDefault(p => p.Category.Equals("Education") && p.Worth.Equals(row.Education));
		var salerytype = Common.Dictionary.FirstOrDefault(p => p.Category.Equals("SaleryType") && p.Worth.Equals(row.SaleryType));
		var relaxing = Common.Dictionary.FirstOrDefault(p => p.Category.Equals("WayOfRelaxing") && p.Worth.Equals(row.WayOfRelaxing));
		var working = Common.Dictionary.FirstOrDefault(p => p.Category.Equals("WayOfWorking") && p.Worth.Equals(row.WayOfWorking));
		var householdrequirement = Common.Dictionary.FirstOrDefault(p => p.Category.Equals("HouseholdRequirements") && p.Worth.Equals(row.HouseholdRequirements));
		var agerange = string.IsNullOrWhiteSpace(row.AgeFrom) && string.IsNullOrWhiteSpace(row.AgeTo) ? "无要求" :
			string.IsNullOrWhiteSpace(row.AgeFrom)?"大于"+row.AgeFrom+"周岁":
			string.IsNullOrWhiteSpace(row.AgeTo)?"小于"+row.AgeTo+"周岁":
			row.AgeFrom+"到"+row.AgeTo+"周岁";
		var workrelax= working==null && relaxing==null?"":
			working==null?relaxing.Caption:
			relaxing==null?working.Caption:
			working.Caption+"+"+relaxing.Caption;
		<div class="innerDialogRow"> 
			<label class="innerDialogRowLabel">招聘岗位：</label> 
			<label class="width154">@row.Caption</label> 
			<label class="innerDialogRowLabel">招聘人数：</label> 
			<label class="width154">@(row.MaxMen??"若干")</label> 
		</div> 
		<div class="innerDialogRow"> 
			<label class="innerDialogRowLabel">工作地点：</label> 
			<label class="width154">@row.Workplace</label> 
			<label class="innerDialogRowLabel">发布时间：</label> 
			<label class="width154">@row.PublishDate</label> 
		</div> 
		<div class="innerDialogRow"> 
			<label class="innerDialogRowLabel">性别：</label> 
			<label class="width154">@(gender==null?"不限":gender.Caption)</label> 
			<label class="innerDialogRowLabel">户籍要求：</label> 
			<label class="width154">@(householdrequirement==null?"不限":householdrequirement.Caption)</label> 
		</div> 
		<div class="innerDialogRow"> 
			<label class="innerDialogRowLabel">学历要求：</label> 
			<label class="width154">@(education==null?"不限":education.Caption)</label> 
			<label class="innerDialogRowLabel">综合工资：</label> 
			<label class="width154"><u>@(string.IsNullOrWhiteSpace(row.Salery)?"面议":row.Salery+"元/月")</u> @(salerytype==null?"":"("+salerytype.Caption+")")</label>
		</div>  
	   <div class="innerDialogRow"> 
			<label class="innerDialogRowLabel">试用期：</label> 
			<label class="width154"><u>@(string.IsNullOrWhiteSpace(row.TrailSalery)?"面议":row.TrailSalery+"元/月")</u> (试用期<u>@(string.IsNullOrWhiteSpace(row.TrailMonth)?"面议":row.TrailMonth)</u>)</label>
			<label class="innerDialogRowLabel">年龄要求：</label> 
			<label class="width154">@agerange</label> 
		</div> 
		<div class="innerDialogRow"> 
			<label class="innerDialogRowLabel">工作时间：</label> 
			<label class="width154"><u>@(string.IsNullOrWhiteSpace(row.WorkingHours)?"不确定":row.WorkingHours) @workrelax</u></label>
		</div> 
		<div class="innerDialogRow"> 
			<label class="innerDialogRowLabel top">具体要求：</label> 
			<label class="inlineblock width400 top">@(string.IsNullOrWhiteSpace(row.JobRequirements)?"面议":row.JobRequirements)</label> 
		</div> 
		<div class="innerDialogRow"> 
			<label class="innerDialogRowLabel top">待遇情况：</label> 
			<label class="inlineblock width400 top">@(string.IsNullOrWhiteSpace(row.SalaryDescription)?"面议":row.SalaryDescription)</label> 
		</div> 
		<div class="innerDialogRow"> 
			<label class="innerDialogRowLabel top">工作内容：</label> 
			<label class="inlineblock width400 top">@(string.IsNullOrWhiteSpace(row.Description)?"面议":row.Description)</label> 
		</div>
   }
    </div>
</center>
</body>
</html>
